package com.bzkj.web.controller.wms;

import com.bzkj.basicinfo.service.wms.WmsBillReportService;
import com.bzkj.common.core.domain.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @author swj
 * @desc
 */
@RestController
@RequestMapping("/wms/billPrint")
public class WmsBillReportController {
    @Autowired
    private WmsBillReportService wmsBillReportService;

    /**
     * 其他入库单据打印
     *
     * @param cgeneralhid
     * @return
     */
    @GetMapping("/{cgeneralhid}")
    public R getOtherInBoundPrint(@PathVariable("cgeneralhid") String cgeneralhid) {
        return wmsBillReportService.printBillMode(cgeneralhid);
    }
}
